const api =  'https://fhjob.icebartech.com/api/'
module.exports = {
  //管理员
    ADMIN: {
        LOGIN: api + 'admin/user/login', //登录接口
        MODIFYPWD: api + 'admin/user/updUserPWD' ,//重置密码接口
        LOGOUT:api+'admin/user/logout'//登出
    },
    USERCORE: {
        DELETEITEM: api+"admin/usercore/delete",
        DELETES: api+"admin/usercore/deletes",
        DETAIL: api+"admin/usercore/findDetail",
        LIST: api+"admin/usercore/findPage",
    },
    MSG: {
        ADD: api+"admin/message/add",
        DELETEITEM:api+"admin/message/delete",
        DELETES: api+"admin/message/deletes",
        DETAIL: api+"admin/message/findDetail",
        LIST: api+"admin/message/findPage",
        UPDATE: api+"admin/message/update"
    },
    FEED: {
        DELETEITEM: api+"admin/feedback/delete",
        DELETES: api+"admin/feedback/deletes",
        DETAIL: api+"admin/feedback/findDetail",
        LIST: api+"admin/feedback/findPage"
    },
    TALENT: {
        ADD: api+"admin/talent/add",
        DELETEITEM: api+"admin/talent/delete",
        DELETES: api+"admin/talent/deletes",
        DETAIL: api+"admin/talent/findDetail",
        LIST: api+"admin/talent/findPage",
        OFF: api+"admin/talent/off",
        ON: api+"admin/talent/on",
        UPDATE: api+"admin/talent/update",
        EXPORT: api+"admin/talent/exportExcel"
    },
    ORDER: {
        CANNEXT: api+"admin/order/canNext",
        CANREFUND: api+"admin/order/canRefund",
        CONFIRMSIGN: api+"admin/order/confirmSigned",
        DETAIL: api+"admin/order/findDetail",
        LIST: api+"admin/order/findPage",
        REFUNDDETAIL: api+"admin/orderrefund/findDetail",
        REFUNDLIST: api+"admin/orderrefund/findPage",
        EXPORT: api+"admin/order/exportExcel"
    },
    OPSLOG: {
        DELETE: api+"admin/opslog/delete",
        LIST: api+"admin/opslog/findPage",
    },
    RULE: {
        ADD: api+"admin/rule/add",
        DELETE: api+"admin/rule/delete",
        DETAIL: api+"admin/rule/findDetail",
        UPDATE: api+"admin/rule/updateadmin/rule/update",
        LIST: api+"admin/rule/findPage"
    },
    COMMON:{
        UPLOAD:api+'base/sys/h5/getOSSUploadUrl',
        GETCITYLIST:api+'admin/syscode/cityGroupByProvinceCode',
        GETPROVINCELIST:api+'admin/syscode/provinceGroup'
    },
    SYSTEM: {
        // 角色管理
        FINDAPPROLEBYPAGE:api+'admin/role/findAppRoleByPage',   // 分页获取角色列表
        GETALLAPPPERMISSION:api+'admin/role/getAllAppPermission',  // 获取所有权限列表
        GETROLEINFOBYID:api+'admin/role/getRoleInfoByRoleId',   // 获取角色详情
        DELETEROLEBYID:api+'admin/role/deleteRoleByRoleId',   // 删除角色记录
        SAVEAPPROLE:api+'admin/role/saveAppRole',   // 保存角色
        FINDUSERPERMISSIONS:api+'admin/user/findUserPermissions',     // 获取用户拥有的左侧菜单权限
    },
    USER: {
        FINDADMINUSERBYPAGE:api+'admin/user/findAdminUserByPage',   //  分页获取用户列表
        FINDUSERPERMISSIONS:api+'admin/user/findUserPermissions' ,  //  用户权限列表
        FINDADMINUSERDETAILBYUSERID:api+'admin/user/findAdminUserDetailByUserId',   // 用户详情
        SAVEADMINUSER:api+'admin/user/saveAdminUser',    // 保存用户
        DELETEADMINUSERBYID:api+'admin/user/deleteAdminUserByUserId',     // 删除

    },
    BANNER: {
        ADD: api+"admin/banner/add",
        DELETE: api+"admin/banner/delete",
        LIST: api+"admin/banner/findList",
        UPDATE: api+"admin/banner/update"
    }
}
